<div class="container">
    <div class="section ptb-30">
        <div class="row">
            <div class="col-md-3">
                {include file="common/zclb"}
            </div>
            <div class="col-md-9">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <div class="zx_lie_right_1">
                            <p>我的咨询</p>
                            <a href="?status=22" class="{$status==22?'on':''}">查看全部</a>
                            <a href="?status=0" class="{$status==0?'on':''}">待解决咨询</a>
                            <a href="?status=1" class="{$status==1?'on':''}">已解决咨询</a>
                        </div>
                        <div class="widget-body">
                            <div class="zx_lie_right_3">
                                <ul>
                                    {volist name="data" id="item"}
                                    <li>
                                        <div style="display: flex;height: 99px;">
                                            <div style="margin-right: 10px;">
                                                <img alt="" src="{$item.imgs|cdnurl}" style="width:139px;height: 100%;"/>
                                            </div>
                                            <div style="flex: 1;display: flex;flex-direction: column;justify-content: space-around;">
                                                <div style="display: flex;justify-content: space-between;">
                                                    <div>
                                                        <span style="font-weight: bold">{$item.title}</span>
                                                    </div>
                                                    <div>
                                                        <span style="font-weight: bold">{if 1==$item.status}已解决咨询{else/}待解决咨询{/if}</span>
                                                    </div>
                                                </div>
                                                <div style="margin-top: 5px;height: 46px;overflow: hidden;line-height: 23px;color: #c9c9c2;">
                                                    <p>{$item.info}</p>
                                                </div>
                                                <div>
                                                    <div style="display: flex;justify-content: space-between">
                                                        <div>{$item.createtime|datetime}</div>
                                                        <a href="/addons/shop/inquiry/detail?problem_id={$item.id}">查看回复</a>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                    {/volist}
                                </ul>
                            </div>
                            <div style="display: flex;justify-content: center;">
                                {if count($data)==0}
                                <span>暂无数据</span>
                                {else /}
                                {$data->render()}
                                {/if}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
